<div class="title_st05"><h2 class="st05">店舗一覧</h2></div>

{assign var="beforeCity" value=null}
{foreach from=$shopList item=query name=list}
	{if $beforeCity != $query.M05_TENPO_SHIKUCHOUSON}
	{*-- 前のループの閉じタグ--*}
		{*-- 初回以外--*}
		{if $beforeCity != null }
		</div><!-- /box01 -->
		</div><!-- /infoBlock -->
	</div><!-- /prefBlock -->
		{/if}
	{*-- /前のループの閉じタグ--*}
	{*-- 次のループの開きタグ--*}
	<div class="prefBlock">
		<div class="h2Block">
			<h2><span>{$query.M05_TENPO_SHIKUCHOUSON}</span></h2>
		</div>
		<!-- box01 -->
		<div class="infoBlock">
		<div class="box01">
	{*-- /次のループの開きタグ--*}
	{/if}
			<div class="boxInner">
				<!-- h3Block -->
				<div class="h3Block">
					<h3><a href="{$query.SHOP_DTL_URL}">アパマンショップ<span>&nbsp;{$query.M05_TENPO_NAME}</span></a></h3>
					<ul>
	{if $query.M05_TOKUCHO01 == '1'}
		{if $query.M05_TOKUCHO02 != '1' and $query.M05_TOKUCHO03 != '1' and $query.M05_TOKUCHO04 != '1' and $query.M05_TOKUCHO05 != '1' and $query.M05_TOKUCHO06 != '1'}
						<li class="last"><img src="/images/shop/list/icn_type_rent.gif" alt="賃貸" width="45" height="20" /></li>
		{else}
						<li><img src="/images/shop/list/icn_type_rent.gif" alt="賃貸" width="45" height="20" /></li>
		{/if}
	{/if}
	{if $query.M05_TOKUCHO02 == '1'}
		{if $query.M05_TOKUCHO03 != '1' and $query.M05_TOKUCHO04 != '1' and $query.M05_TOKUCHO05 != '1' and $query.M05_TOKUCHO06 != '1'}
						<li class="last"><img src="/images/shop/list/icn_type_control.gif" alt="管理" width="45" height="20" /></li>
		{else}
						<li><img src="/images/shop/list/icn_type_control.gif" alt="管理" width="45" height="20" /></li>
		{/if}
	{/if}
	{if $query.M05_TOKUCHO03 == '1'}
		{if $query.M05_TOKUCHO04 != '1' and $query.M05_TOKUCHO05 != '1' and $query.M05_TOKUCHO06 != '1'}
						<li class="last"><img src="/images/shop/list/icn_type_syataku.gif" alt="社宅" width="45" height="20" /></li>
		{else}
						<li><img src="/images/shop/list/icn_type_syataku.gif" alt="社宅" width="45" height="20" /></li>
		{/if}
	{/if}
	{if $query.M05_TOKUCHO04 == '1'}
		{if $query.M05_TOKUCHO05 != '1' and $query.M05_TOKUCHO06 != '1'}
						<li class="last"><img src="/images/shop/list/icn_type_sell.gif" alt="売買" width="45" height="20" /></li>
		{else}
						<li><img src="/images/shop/list/icn_type_sell.gif" alt="売買" width="45" height="20" /></li>
		{/if}
	{/if}
	{if $query.M05_TOKUCHO05 == '1'}
		{if $query.M05_TOKUCHO06 != '1'}
						<li class="last"><img src="/images/shop/list/icn_type_monthly.gif" alt="マンスリー" width="45" height="20" /></li>
		{else}
						<li><img src="/images/shop/list/icn_type_monthly.gif" alt="マンスリー" width="45" height="20" /></li>
		{/if}
	{/if}
	{if $query.M05_TOKUCHO06 == '1'}
						<li class="last"><img src="/images/shop/list/icn_type_blick.gif" alt="煉瓦の家" width="45" height="20" /></li>
	{/if}
					</ul>
				</div>
				<!-- /h3Block -->
				
				<!-- shopBlock -->
				<div class="shopBlock02"><div class="shopBlock">
					<div class="picBlock">
						<p class="pic"><a href="{$query.SHOP_DTL_URL}"><img src="{$query.IMAGE_PATH}?sr.dw=193&sr.dh=146" alt="外観写真" width="193" height="146" /></a></p>
					</div>
					<!-- block01 -->
					<div class="block01">
	{if $query.hasFreeTel == true}
						<div class="telBlock">
							<p class="catch">お問い合わせは電話が便利！お電話ください！</p>
							<p class="tel"><span class="main">{$query.TEL_01}</span>{if $query.IS_FREE_CALL == true}+{/if}</p>
							<p><a href="{$query.SHOP_PAGE_URL}"><img src="/images/shop/detail/btn_tomember.jpg" width="170px" height="35px" alt="キャンペーンページへGo!!" /></a></p>
						</div>
		{if $query.IS_FREE_CALL == true}
						<p class="number">音声案内に従い店舗番号<span>{$query.CONNECTION_NO}</span>を入力してください。</p>
						<p class="attTxt">*050から始まるIP電話、及びダイアル式電話機（プッシュ信号の送出できない電話機）などからはご利用できません。</p>
		{/if}
	{else}
						<div class="telBlock">
							<p class="catch">お問い合わせは電話が便利！お電話ください！</p>
							<p class="tel02">{$query.TEL_01}</p>
							<p><a href="{$query.SHOP_PAGE_URL}"><img src="/images/shop/detail/btn_tomember.jpg" width="170px" height="35px" alt="キャンペーンページへGo!!" /></a></p>
						</div>
	{/if}
						<div class="shopInfo">
							<dl class="first">
								<dt>TEL</dt>
								<dd>{$query.TEL_02}</dd>
							</dl>
							<dl class="second">
								<dt>営業時間</dt>
								<dd>{$query.EIGYOU_ZIKAN}</dd>
							</dl>
						</div>
						<div class="shopInfo">
							<dl class="first">
								<dt>定休日</dt>
								<dd>{$query.M05_TEIKYUUBI_NAME}</dd>
							</dl>
							<dl class="second">
								<dt>沿線／駅</dt>
		{if $query.M02_ENSEN_KUBUN != ''}
								<dd>{$query.M03_ENSEN_NAME}／{$query.M03_EKI_NAME}</dd>
		{else}										
								<dd>-</dd>
		{/if}
							</dl>
						</div>
						<div class="shopInfo02">
							<dl>
								<dt>住所</dt>
								<dd>〒{$query.M05_TENPO_YUUBIN}{$query.M05_JYUUSHO_TEXT}{$query.M05_TENPO_BANCHI}{$query.M05_TENPO_JYUUSHO_BIKOU}</dd>
							</dl>
						</div>
						<div class="shopInfo02">
							<dl>
								<dt>会社名</dt>
								<dd>
									<p class="companyName">{$query.M05_HOUZINMEI}</p>
{* 2011/02/10 インフォメーションセンター判定廃止 *}
{*
	{if $query.INFOMATION_CENTER_FLAG != '1'}
*}	
		{if $query.M05_OEM == '1' || $query.M05_OEM == '3'}
									<p class="btn"><a href="{$url.tenpo_oem_jump}?OemCd={$query.M05_HOUZIN_CD}&OemType=0" target="_blank"><img src="/images/shop/list/btn_search_05.gif" alt="この企業の物件情報" width="128" height="20" class="rollImg" /></a></p>
		{elseif $query.M05_OEM == '2'}
									<p class="btn"><a href="{$url.tenpo_oem_jump}?OemCd={$query.M05_TENPO_CD}&OemType=1" target="_blank"><img src="/images/shop/list/btn_search_04.gif" alt="この店舗の物件情報" width="128" height="20" class="rollImg" /></a></p>
		{/if}
{*
	{/if}
*}
								</dd>
							</dl>
						</div>
						<div class="shopInfoLast">
							<ul class="feature">
	{if $query.M05_TOKUCHO07 == '1'}
								<li><img src="/images/shop/list/icn_point_night.gif" alt="19:00以降も営業" width="65" height="25" /></li>
	{/if}
	{if $query.M05_TOKUCHO08 == '1'}
								<li><img src="/images/shop/list/icn_point_station.gif" alt="駅のそば(徒歩3分以内)" width="65" height="25" /></li>
	{/if}
	{if $query.M05_TOKUCHO09 == '1'}
								<li><img src="/images/shop/list/icn_point_everyday.gif" alt="年中無休(年末年始除く)" width="65" height="25" /></li>
	{/if}
	{if $query.M05_TOKUCHO10 == '1'}
								<li><img src="/images/shop/list/icn_point_parking.gif" alt="駐車場あり" width="65" height="25" /></li>
	{/if}
	{*if $query.M05_TOKUCHO11 == '1'}
								<li><img src="/images/shop/list/icn_point_wrs.gif" alt="WEB来店システム" width="65" height="25" /></li>
	{/if*}
	{if $query.M05_TOKUCHO12 == '1'}
								<li><img src="/images/shop/list/icn_point_asm.gif" alt="アパマンショップマイレージ" width="65" height="25" /></li>
	{/if}
	{*if $query.M05_TOKUCHO13 == '1'}
								<li><img src="/images/shop/list/icn_point_aos.gif" alt="AOSでお部屋探し" width="65" height="25" /></li>
	{/if*}
	{if $query.M05_TOKUCHO14 == '1'}
								<li><img src="/images/shop/list/icn_point_w0.gif" alt="アパマンショップダブル0" width="65" height="25" /></li>
	{/if}
	{if $query.M05_TOKUCHO15 == '1'}
								<li><img src="/images/shop/list/icn_point_co-moving.gif" alt="引越し業者の紹介可" width="65" height="25" /></li>
	{/if}
	{if $query.M05_TOKUCHO16 == '1'}
								<li><img src="/images/shop/list/icn_point_co-sign.gif" alt="連帯保証人不要の相談可" width="65" height="25" /></li>
	{/if}
							</ul>
						</div>
					</div>
					<!-- /block01 -->
				</div></div>
				<!-- /shopBlock -->
				
			</div><!-- /boxInner -->
	{if $smarty.foreach.list.last == true}
	{*-- 最後のループの閉じタグ--*}
		</div><!-- /box01 -->
		</div><!-- /infoBlock -->
	</div><!-- /prefBlock -->
	{*-- /最後のループの閉じタグ--*}
	{/if}
{assign var="beforeCity" value=$query.M05_TENPO_SHIKUCHOUSON}
{/foreach}
